package com.youdoneed.news.news.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youdoneed.news.news.entity.CmfTerms;
@Mapper
public interface CmfTermsMapper {
    int deleteByPrimaryKey(Long termId);

    int insert(CmfTerms record);

    int insertSelective(CmfTerms record);

    CmfTerms selectByPrimaryKey(Long termId);

    int updateByPrimaryKeySelective(CmfTerms record);

    int updateByPrimaryKeyWithBLOBs(CmfTerms record);

    int updateByPrimaryKey(CmfTerms record);
    
    /**
     * 获取所有子栏目
     * @param parentId
     * @return
     */
    List<CmfTerms> getVideosTerms();
}